
  /**  
 * All rights Reserved, Designed By www.roadmaint.com
 * @Title  ConvertUtils.java   
 * @Package com.zggk.framework.utils.gist   
 * @Description .
 * @author 李逢春[lifengchun] Email:lfcright@yeah.net Tel:15036985189     
 * @date 2019年7月31日 下午2:11:31   
 * @version V1.0 
 */
 
package com.zggk.framework.utils.gist;

import java.util.List;

/**
  * @author 李逢春[lifengchun] Email:lfcright@yeah.net Tel:15036985189
  * @date 2019年7月31日 下午2:11:31 
  */

public class ConvertUtils {

	public static void convertLxlx(String value, List<Object> paramsList) {
		switch (value) {
		case "radiation":
			//放射线
			paramsList.add("SD");
			break;
		case "horizontal":
			//横向线
			paramsList.add("BN");
			break;
		case "longitudinal":
			//纵向线
			paramsList.add("DX");
			break;
		default:
			break;
		}
	}
	public static void convertJsdjForIndex(String value, List<Object> paramsList) {
		switch (value) {
		case "10":
			paramsList.add(1);
			break;
		case "11":
			paramsList.add(2);
			break;
		case "12":
			paramsList.add(3);
			break;
		case "13":
			paramsList.add(4);
			break;
		case "14":
			paramsList.add(5);
			break;
		case "30":
			paramsList.add(6);
			break;
		default:
			break;
		}
	}
}
